<?php

namespace App\Http\Controllers\Home;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Hashids;
use PDF;
class TestController extends Controller{
    public function index(Request $request){
        echo Hashids::encode(2222);
        echo '<pre>';
        print_r(Hashids::decode('5L3OxJ60wg4YZQ0w'));
        echo '</pre>';
    }

    public function show_cookie(){
        echo public_path();
        //throw new \App\Exceptions\CustomException('Something Went Wrong');
    }

    public function pdf(){

    }

}